<template>
    <Header title="我的商城"/>
    <Swipper v-if="data.swipperList" :dataList="data.swipperList" class="swipper"/>
</template>

<script>
import Header from "../components/Header.vue"
import { Toast } from "vant/es/toast"
import "vant/es/toast/style"
import Swipper from "../components/Swipper.vue"

import { reactive } from "@vue/reactivity"
import { fetchGoodList } from "../api/goods"
import {getGoosByTag} from "../api/goods"
import { onMounted } from "@vue/runtime-core"
	
export default {
    props: {
        title: {
          type: String
        },
        leftText: {
          type: String
        },
        leftArrow: {
          type: Boolean,
          default: true
        }
    },

    components: {
        Header,
        Swipper
    },
    setup() {
      const data = reactive({
	    swipperList: [
			"http://localhost:3000/api/upload_5ab1ad8c4642569b7fb1ecee400b8f17.jpeg",
			"http://localhost:3000/api/upload_0d9c80432c60336d37f8fb0f9e6c8074.png",
			"http://localhost:3000/api/upload_5ab1ad8c4642569b7fb1ecee400b8f17.jpeg"
		],
	  });
      return {
          data
      }
    },
}
</script>

<style scoped>

</style>
